let a = {
  n : 1
}

let b  = [1,a]
a.n = 2
console.log(b.slice(1))